.class public Lcom/instagram/android/fragment/ev;
.super Lcom/instagram/e/b/b;
.source "PreloadOptionsFragment.java"

# interfaces
.implements Lcom/instagram/a/b;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 20
    invoke-direct {p0}, Lcom/instagram/e/b/b;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 26
    sget v0, Lcom/facebook/ax;->fragment_preload_options:I

    const/4 v1, 0x0

    invoke-virtual {p1, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 52
    new-instance v0, Lcom/instagram/android/fragment/ex;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/ex;-><init>(Lcom/instagram/android/fragment/ev;)V

    return-object v0
.end method

.method public a(Landroid/view/View;Landroid/os/Bundle;)V
    .locals 5
    .parameter
    .parameter

    .prologue
    .line 31
    sget v0, Lcom/facebook/aw;->preload_options_radiogroup:I

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RadioGroup;

    .line 32
    sget v1, Lcom/facebook/aw;->preload_options_always:I

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/RadioButton;

    .line 34
    sget v2, Lcom/facebook/aw;->preload_options_wifi:I

    invoke-virtual {p1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/RadioButton;

    .line 37
    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v4

    .line 38
    invoke-static {}, Lcom/instagram/creation/video/c/b;->c()Z

    move-result v3

    .line 39
    invoke-virtual {v1, v3}, Landroid/widget/RadioButton;->setChecked(Z)V

    .line 40
    if-nez v3, :cond_0

    const/4 v3, 0x1

    :goto_0
    invoke-virtual {v2, v3}, Landroid/widget/RadioButton;->setChecked(Z)V

    .line 42
    new-instance v2, Lcom/instagram/android/fragment/ew;

    invoke-direct {v2, p0, v4, v1}, Lcom/instagram/android/fragment/ew;-><init>(Lcom/instagram/android/fragment/ev;Lcom/instagram/m/b/a;Landroid/widget/RadioButton;)V

    invoke-virtual {v0, v2}, Landroid/widget/RadioGroup;->setOnCheckedChangeListener(Landroid/widget/RadioGroup$OnCheckedChangeListener;)V

    .line 48
    return-void

    .line 40
    :cond_0
    const/4 v3, 0x0

    goto :goto_0
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 82
    const-string v0, "preload_options"

    return-object v0
.end method
